package cn.zqy.demo.day09;

public class Fu {
    int numFu = 10;
    int num = 20;

    public void methodFu() {
        System.out.println("父类方法执行");
        System.out.println(num);
    }

    public void sameMethod() {
        System.out.println("父类相同方法执行！！！");
    }


    // @Override方法
    protected Object overMethod() {
        return null;
    }
}
